package cn.stylefeng.guns.modular.business.frequency.ordercarverify.entity;

import cn.stylefeng.guns.core.pojo.base.entity.BaseEntity;
import com.baomidou.mybatisplus.annotation.*;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 验车记录
 *
 * @author yujie
 * @date 2023/05/09 17:16
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("tt_order_car_verify")
public class OrderCarVerify extends BaseEntity {

    /**
     * id
     */
    @TableId("id")
    private Long id;

    /**
     * 订单id
     */
    @TableField("order_id")
    private Long orderId;

    /**
     * 车架号
     */
    @TableField("vin")
    private String vin;

    /**
     * 公里数
     */
    @TableField("km")
    private Integer km;

    /**
     * 备注
     */
    @TableField("remark")
    private String remark;

    /**
     * 租户ID
     */
    @TableField(value = "tenant_id",fill = FieldFill.INSERT)
    private Long tenantId;

    @ApiModelProperty("内饰外观照片")
    @TableField(exist = false)
    private List<String> validateImages = new ArrayList<>();

    @ApiModelProperty("受损照片")
    @TableField(exist = false)
    private List<String> damagedImages=new ArrayList<>();

    @ApiModelProperty("其他照片")
    @TableField(exist = false)
    private List<String> otherImages=new ArrayList<>();
}
